package com.ysqcould.allocation.domain;


import com.ysqcould.common.annotation.Excel;
import com.ysqcould.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 值班对象 t_duty
 * 
 * @author ruoyi
 * @date 2022-06-29
 */
public class Duty extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 协会id */
    @Excel(name = "协会id")
    private Long asId;

    /** 值班领导id */
    @Excel(name = "值班领导id")
    private String dutyLeadId;

    /** 值班人id */
    @Excel(name = "值班人id")
    private String dutyPeopleId;

    /** 状态（字典 0正常 1冻结 2删除） */
    @Excel(name = "状态", readConverterExp = "字=典,0=正常,1=冻结,2=删除")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAsId(Long asId) 
    {
        this.asId = asId;
    }

    public Long getAsId() 
    {
        return asId;
    }
    public void setDutyLeadId(String dutyLeadId) 
    {
        this.dutyLeadId = dutyLeadId;
    }

    public String getDutyLeadId() 
    {
        return dutyLeadId;
    }
    public void setDutyPeopleId(String dutyPeopleId) 
    {
        this.dutyPeopleId = dutyPeopleId;
    }

    public String getDutyPeopleId() 
    {
        return dutyPeopleId;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("asId", getAsId())
            .append("dutyLeadId", getDutyLeadId())
            .append("dutyPeopleId", getDutyPeopleId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
